package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallRole;
import com.ctsi.ssdc.domain.LitemallRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallRoleRepository extends BaseRepository<LitemallRole, Integer, LitemallRoleExample> {
    @Override
    long countByExample(LitemallRoleExample example);

    @Override
    int deleteByExample(LitemallRoleExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallRole record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallRole record);

    @Override
    List<LitemallRole> selectByExample(LitemallRoleExample example);

    @Override
    LitemallRole selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallRole record, @Param("example") LitemallRoleExample example);

    @Override
    int updateByExample(@Param("record") LitemallRole record, @Param("example") LitemallRoleExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallRole record);

    @Override
    int updateByPrimaryKey(LitemallRole record);
}